<%@ page pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>注册页面</title>
<style>

html {
	height: 100%;
	width: 100%;
	overflow: hidden;
	margin: 0;
	padding: 0;
	background: url(images/register.PNG) no-repeat 0px 0px;
	background-size: 100% 100%;
	-moz-background-size: 100% 100%;
}

body {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
}

#loginDiv {
	width: 30%;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 300px;
	border-radius: 5px;
}

#name_trip {
	margin-left: 50px;
	color: red;
}

p, .sexDiv {
	margin-top: 10px;
	margin-left: 20px;
	color: azure;
}

.input{
	margin-left: 15px;
	border-radius: 5px;
	border-style: hidden;
	height: 30px;
	width: 140px;
	background-color: rgba(216, 191, 216, 0.5);
	outline: none;
	color: #f0edf3;
	padding-left: 10px;
}
.button {
	border-color: cornsilk;
	background-color: rgba(100, 149, 237, .7);
	color: aliceblue;
	border-style: hidden;
	border-radius: 5px;
	width: 200px;
	height: 31px;
	font-size: 16px;
}

h1 {
	text-align: center;
	margin-bottom: 20px;
	margin-top: 20px;
	color: #f0edf3;
}

</style>
</head>

<body>
	<div id="loginDiv">
	
		<form action="register.action" method="post">
			<h1>注册</h1>
			<p>
				用户名:<input  class="input" name="username" type="text" autofocus placeholder="请输入用户名" autocomplete="off">
			</p>

			<p>
				密&emsp;码:<input class="input" name="password" type="password" placeholder="请输入密码">
			</p>
			<p>
				电&emsp;话:<input  class="input" name="iphone" type="text" placeholder="请输入电话" autocomplete="off">
			</p>
			<p>
			性&emsp;别:
				<input type="radio" name="sex" value="0">女 
				<input type="radio" name="sex" value="1">男
			</p>
			 <p>
				 用户类型:
		                <select name="ident">
		                  	 <option value="2">顾客</option>
		                    <option value="0">管理员</option>
		                    <option value="1">商家</option>

		                </select>
			</p> 
			<div style="text-align: center;">
			<button class="button" type="submit">注 册</button>
				
			</div>
		</form>
		
	</div>
</body>
</html>